<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>
<body>
    <script src="/js/vue.js"></script>
    <div id="app">
        <input type="text" v-model.lazy="msg">
        <h2>{{msg}}</h2>

        <input type="number" v-model.number="age">
        <h2>{{typeof age}}</h2>

        <input type="text" v-model.trim="name">
        <h2>{{name}}</h2>
    </div>

    <script>
        let app = new Vue({
            el:"#app",
            date:{
                msg:'hello world',
                age:10,
                name:""
            }
        })
    </script>
</body>
</html>